<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*,Entity.*,Biz.*,javax.persistence.*"
    pageEncoding="UTF-8" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

        <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
        <html>

        <head>
            <!--Import Google Icon Font-->
            <link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
            <!--Import materialize.css-->
            <link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />

            <!--Let browser know website is optimized for mobile-->
            <meta name="viewport" content="width=device-width, initial-scale=1.0" />
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>确认姓名</title>
        </head>

        <body>
            <div class="container">

                <div class="row">
                    <% String ID=(String)session.getAttribute("ID"); String name=(String)session.getAttribute("name");
                        if(name!=null) { 
                        request.setAttribute("ID", ID); request.setAttribute("name", name);
                        } else {
                        request.setAttribute("ID", ID); request.setAttribute("name", "ID未找到" ); } %>
                        <h3 class="center-align">姓名确认</h3>
                        <h5 class="center-align">学号：${ID} 姓名：${name}</h5>
                </div>
                <div class="row">
                    <div class="col l3 offset-l3 valign-wrapper">
                        <h5 class="valign">
                            <a class="waves-effect waves-light btn"><input type="button" value="添加"
                                    onclick="window.location.href='addTestedServlet';" /></a>
                        </h5>
                    </div>
                    <div class="col l3 offset-l1 valign-wrapper">
                        <h5 class="valign">
                            <a class="waves-effect waves-light btn"><input type="button" value="放弃"
                                    onclick="window.location.href='InputTestedName.jsp';" /></a>
                        </h5>
                    </div>
                </div>
            </div>
            <!--Import jQuery before materialize.js-->
            <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
            <script type="text/javascript" src="js/materialize.min.js"></script>
        </body>

        </html>